package com.qf.ge.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;

/**
    * 账户表
    */
@TableName(value = "dts_user_account")
public class DtsUserAccount {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户表的用户ID
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 账户总余额
     */
    @TableField(value = "remain_amount")
    private BigDecimal remainAmount;

    /**
     * 账户总额
     */
    @TableField(value = "total_amount")
    private BigDecimal totalAmount;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "modify_time")
    private Date modifyTime;

    /**
     * 结算利率：5 表示5%或0.05
     */
    @TableField(value = "settlement_rate")
    private Integer settlementRate;

    /**
     * 账户状态
     */
    @TableField(value = "status")
    private Byte status;

    /**
     * 分享推广二维码URL
     */
    @TableField(value = "share_url")
    private String shareUrl;

    public static final String COL_ID = "id";

    public static final String COL_USER_ID = "user_id";

    public static final String COL_REMAIN_AMOUNT = "remain_amount";

    public static final String COL_TOTAL_AMOUNT = "total_amount";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_MODIFY_TIME = "modify_time";

    public static final String COL_SETTLEMENT_RATE = "settlement_rate";

    public static final String COL_STATUS = "status";

    public static final String COL_SHARE_URL = "share_url";

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取用户表的用户ID
     *
     * @return user_id - 用户表的用户ID
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置用户表的用户ID
     *
     * @param userId 用户表的用户ID
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取账户总余额
     *
     * @return remain_amount - 账户总余额
     */
    public BigDecimal getRemainAmount() {
        return remainAmount;
    }

    /**
     * 设置账户总余额
     *
     * @param remainAmount 账户总余额
     */
    public void setRemainAmount(BigDecimal remainAmount) {
        this.remainAmount = remainAmount;
    }

    /**
     * 获取账户总额
     *
     * @return total_amount - 账户总额
     */
    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    /**
     * 设置账户总额
     *
     * @param totalAmount 账户总额
     */
    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    /**
     * 获取创建时间
     *
     * @return create_time - 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取修改时间
     *
     * @return modify_time - 修改时间
     */
    public Date getModifyTime() {
        return modifyTime;
    }

    /**
     * 设置修改时间
     *
     * @param modifyTime 修改时间
     */
    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    /**
     * 获取结算利率：5 表示5%或0.05
     *
     * @return settlement_rate - 结算利率：5 表示5%或0.05
     */
    public Integer getSettlementRate() {
        return settlementRate;
    }

    /**
     * 设置结算利率：5 表示5%或0.05
     *
     * @param settlementRate 结算利率：5 表示5%或0.05
     */
    public void setSettlementRate(Integer settlementRate) {
        this.settlementRate = settlementRate;
    }

    /**
     * 获取账户状态
     *
     * @return status - 账户状态
     */
    public Byte getStatus() {
        return status;
    }

    /**
     * 设置账户状态
     *
     * @param status 账户状态
     */
    public void setStatus(Byte status) {
        this.status = status;
    }

    /**
     * 获取分享推广二维码URL
     *
     * @return share_url - 分享推广二维码URL
     */
    public String getShareUrl() {
        return shareUrl;
    }

    /**
     * 设置分享推广二维码URL
     *
     * @param shareUrl 分享推广二维码URL
     */
    public void setShareUrl(String shareUrl) {
        this.shareUrl = shareUrl;
    }
}